Generate a CSCK

Command:  YA (Generate CSCK). Can be used in online, offline or secure state.

Function:     Generates a new *CSCK and displays it encrypted under the LMK.

Inputs:        A CSCK length flag.

Outputs:     The new CSCK, encrypted under LMK 14-15 variant 4.

Errors:        Internal failure 12: function aborted - the contents of LMK storage have been corrupted or erased. Do not continue. Inform the Security Department.

Example 1:

Online> YA <Return>

Enter CSCK length [S/D]: D <Return>

CSCK encrypted under LMK: XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX

Example 2:

Online> YA <Return>

Enter CSCK length [S/D]: S <Return>

CSCK encrypted under LMK: XXXX XXXX XXXX XXXX